package com.teamall.web.tssy.db.dao.mapper;

import com.teamall.web.tssy.db.arg.TsSyUserArg;
import com.teamall.web.tssy.db.po.TsSyUserPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ITsSyUserMapper {
    
    List<Integer> countByArg(TsSyUserArg arg);

    List<TsSyUserPO> selectByArg(TsSyUserArg arg);

    TsSyUserPO selectByPrimaryKey(String id);

    List<TsSyUserPO> selectByArgAndPage(TsSyUserArg arg, RowBounds rowBound);

    int insert(TsSyUserPO record);

    int insertSelective(TsSyUserPO record);

    int insertBatch(@Param("list") List<TsSyUserPO> records);

    int updateByArgSelective(@Param("record") TsSyUserPO record,
            @Param("arg") TsSyUserArg arg);

    int updateByArg(@Param("record") TsSyUserPO record,
            @Param("arg") TsSyUserArg arg);

    int updateByPrimaryKeySelective(TsSyUserPO record);

    int updateByPrimaryKeys(TsSyUserPO record);
    
    int updateByPrimaryKey(TsSyUserPO record);
    
    int deleteByArg(TsSyUserArg arg);
    
    int deleteByPrimaryKey(String id);
    
}